{extend name="public/base"/}
{block name="style"}

{/block}

{block name="body"}
	<header class="ui-header">  
	    <div class="ui-icon-left">
	        <a href="javascript:history.back(-1)" class="ui-icon icon-back"></a>
	    </div>
	    <h1 class="ui-title">小说精选</h1>
	    <div class="ui-icon-right">
	        <a href="javascript:;" class="ui-icon icon-menu"></a>
	    </div>
	   <!--导航-->
	    {block name="include"}{include file="public:dropnav" /}{/block}
	</header>
	<div class="weui-content">
		<div class="page-cells toplist-cells">
			<!--
			<ul class="tabsbar">
				<li class="active">点击榜</li><li>畅销榜</li><li>打赏榜</li>
			</ul>
		-->
			<div class="tabs-content">
				<div class="tabs-body show">
					<div class="weui-panel__list">
						{volist name="featured" id="vo" key="k"}
			            <a href="/book/info/id/{$vo.id}" class="weui-media-box weui-media-box_appmsg">
			                <div class="weui-media-box__hd">
			                    <img class="weui-media-box__thumb" src="{$vo.cover}" alt="">
			                    <div class="t-num">{$k}</div>
			                </div>
			                <div class="weui-media-box__bd">
			                    <h4 class="weui-media-box__title">{$vo.title}</h4>
			                    <div class="weui-media-box__desc">{$vo.intro}</div>
			                    <div class="weui-media-box__ft">
			                    	<span class="box-cate">{$vo.category|get_category=###,'title'} | {$vo.fullflag|get_field=1,'fullflag',###}</span>
			                    	<span class="box-click">总点击：{$vo.allvisit}</span>
			                    </div>
			                </div>
			            </a>
						{/volist}
			        </div>
				</div>
			</div>
		</div>
	</div>
{/block}

{block name="script"}
	<script type="text/javascript" src="__PUBLIC__/novel/js/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/novel/js/common.js"></script>
	<script type="text/javascript">
		var channel = {$channel|default=1};
		 $(function(){
			if(channel==1){
				$('body').addClass('boys-wrap');
			}
		 });
		
	</script>
{/block}
